package ace.module.oss.core.impl.dao.repository;


import ace.cmp.spring.data.jdbc.querydsl.core.repository.QuerydslJdbcBaseRepository;
import ace.module.oss.core.impl.constant.OssCoreConstant;
import ace.module.oss.core.impl.constant.OssCoreConstants;
import ace.module.oss.core.impl.dao.entity.OssApplicationConfig;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.springframework.stereotype.Repository;

/**
 * oss应用配置 repository.
 *
 * @author Caspar
 */
@DS(OssCoreConstant.DEFAULT_DATA_SOURCE_NAME)
@Repository
public interface OssApplicationConfigRepository extends QuerydslJdbcBaseRepository<OssApplicationConfig, Long> {

  OssApplicationConfig getByOssAppIdAndKeyAndDeleteFlag(Long ossAppId, String key, Long deleteFlag);
}
